package com.spring.study;

import com.spring.study.entity.Persion;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class SpringStudyMain {
	public static void main(String[] args) {
		ApplicationContext  ss = new ClassPathXmlApplicationContext("applicationcontest.xml");
		Persion persion = (Persion)ss.getBean("persion");
		persion.setAge(123);
		persion.setName("liucl");
		System.out.println(persion.toString());
	}
}
